package edu.sctu.zhu.controller;

/**
 * Created by admin on 2015/12/28.
 */
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import javax.servlet.http.HttpServletResponse;

@Controller
public class BackStageController {

    @RequestMapping(value = "/back_stage_anagement/seller/index", method = RequestMethod.GET)
    public String UploadIndex(HttpServletResponse response) {
        response.setHeader("X-Frame-Options", "AllowAll");
        return "/back_stage_anagement/seller/index";
    }

    @RequestMapping(value = "/back_stage_anagement/seller/upload", method = RequestMethod.GET)
    public String UploadUpLoad(HttpServletResponse response) {
        response.setHeader("X-Frame-Options", "AllowAll");
        return "/back_stage_anagement/seller/upload";
    }

    @RequestMapping(value = "/back_stage_anagement/seller/goods", method = RequestMethod.GET)
    public String UploadGoods(HttpServletResponse response) {
        response.setHeader("X-Frame-Options", "AllowAll");
        return "/back_stage_anagement/seller/goods";
    }

    @RequestMapping(value = "/back_stage_anagement/seller/my_shop", method = RequestMethod.GET)
    public String UploadOrder(HttpServletResponse response) {
        response.setHeader("X-Frame-Options", "AllowAll");
        return "/back_stage_anagement/seller/my_shop";
    }

    @RequestMapping(value = "/back_stage_anagement/seller/hot", method = RequestMethod.GET)
     public String UploadHot(HttpServletResponse response) {
        response.setHeader("X-Frame-Options", "AllowAll");
        return "/back_stage_anagement/seller/hot";
    }
    @RequestMapping(value = "/back_stage_anagement/seller/help", method = RequestMethod.GET)
       public String UploadHelp(HttpServletResponse response) {
        response.setHeader("X-Frame-Options", "AllowAll");
        return "/back_stage_anagement/seller/help";
    }


    @RequestMapping(value = "/back_stage_anagement/seller/change_info", method = RequestMethod.GET)
    public String UploadChange_info(HttpServletResponse response) {
        response.setHeader("X-Frame-Options", "AllowAll");
        return "/back_stage_anagement/seller/change_info";
    }

    @RequestMapping(value = "/back_stage_anagement/seller/info", method = RequestMethod.GET)
     public String UploadInfo(HttpServletResponse response) {
        response.setHeader("X-Frame-Options", "AllowAll");
        return "/back_stage_anagement/seller/info";
    }

    @RequestMapping(value = "/back_stage_anagement/seller/user_preference", method = RequestMethod.GET)
    public String UploadUser_preference(HttpServletResponse response) {
        response.setHeader("X-Frame-Options", "AllowAll");
        return "/back_stage_anagement/seller/user_preference";
    }


    @RequestMapping(value = "/back_stage_anagement/seller/product_classification", method = RequestMethod.GET)
    public String UploadProduct_classification(HttpServletResponse response) {
        response.setHeader("X-Frame-Options", "AllowAll");
        return "/back_stage_anagement/seller/product_classification";
    }

    @RequestMapping(value = "/back_stage_anagement/seller/delivery", method = RequestMethod.GET)
    public String delivery(HttpServletResponse response) {
        response.setHeader("X-Frame-Options", "AllowAll");
        return "/back_stage_anagement/seller/delivery";
    }
    @RequestMapping(value = "/back_stage_anagement/seller/data_analysis", method = RequestMethod.GET)
    public String UploadData_analysis(HttpServletResponse response) {
        response.setHeader("X-Frame-Options", "AllowAll");
        return "/back_stage_anagement/seller/data_analysis";
    }
    @RequestMapping(value = "/back_stage_anagement/seller/order_maneger", method = RequestMethod.GET)
    public String order_maneger(HttpServletResponse response) {
        response.setHeader("X-Frame-Options", "AllowAll");
        return "/back_stage_anagement/seller/order_maneger";
    }

    @RequestMapping(value = "/back_stage_anagement/mmt_admin/admin_index", method = RequestMethod.GET)
    public String adminIndex(HttpServletResponse response) {
        response.setHeader("X-Frame-Options", "AllowAll");
        return "/back_stage_anagement/mmt_admin/admin_index";
    }
    @RequestMapping(value = "/back_stage_anagement/mmt_admin/admin_order", method = RequestMethod.GET)
    public String adminorder(HttpServletResponse response) {
        response.setHeader("X-Frame-Options", "AllowAll");
        return "/back_stage_anagement/mmt_admin/admin_order";
    }
    @RequestMapping(value = "/back_stage_anagement/mmt_admin/admin_report ", method = RequestMethod.GET)
    public String adminrepor(HttpServletResponse response) {
        response.setHeader("X-Frame-Options", "AllowAll");
        return "/back_stage_anagement/mmt_admin/admin_report";
    }
    @RequestMapping(value = "/back_stage_anagement/mmt_admin/admin_seller", method = RequestMethod.GET)
    public String adminselle(HttpServletResponse response) {
        response.setHeader("X-Frame-Options", "AllowAll");
        return "/back_stage_anagement/mmt_admin/admin_seller";
    }

    @RequestMapping(value = "/back_stage_anagement/mmt_admin/admin_examine", method = RequestMethod.GET)
    public String adminexamine(HttpServletResponse response) {
        response.setHeader("X-Frame-Options", "AllowAll");
        return "/back_stage_anagement/mmt_admin/admin_examine";
    }
    @RequestMapping(value = "/back_stage_anagement/mmt_admin/admin_category", method = RequestMethod.GET)
    public String admincategory(HttpServletResponse response) {
        response.setHeader("X-Frame-Options", "AllowAll");
        return "/back_stage_anagement/mmt_admin/admin_category";
    }
    @RequestMapping(value = "/back_stage_anagement/mmt_admin/admin_seller/detail/{id}", method = RequestMethod.GET)
    public String adminSellerDetail(HttpServletResponse response) {
        response.setHeader("X-Frame-Options", "AllowAll");
        return "/back_stage_anagement/mmt_admin/admin_seller_detail";
    }



}
